<template>
  <div>
    <Num :list="list"></Num>
  </div>
</template>

<script>
import Num from './components/my-number.vue'
export default {
  components: {
    Num,
  },
  data() {
    return {
      list: [
        {
          num1: Math.floor(Math.random() * 10),
          num2: Math.floor(Math.random() * 10),
          status: '未完成',
          result: '',
          submitted: false,
        },
        {
          num1: Math.floor(Math.random() * 10),
          num2: Math.floor(Math.random() * 10),
          status: '未完成',
          result: '',
          submitted: false,
        },
        {
          num1: Math.floor(Math.random() * 10),
          num2: Math.floor(Math.random() * 10),
          status: '未完成',
          result: '',
          submitted: false,
        },
        {
          num1: Math.floor(Math.random() * 10),
          num2: Math.floor(Math.random() * 10),
          status: '未完成',
          result: '',
          submitted: false,
        },
        {
          num1: Math.floor(Math.random() * 10),
          num2: Math.floor(Math.random() * 10),
          status: '未完成',
          result: '',
          submitted: false,
        },
      ],
    }
  },
}
</script>
